//-----------------------------------------------------------------------
// <copyright file="UserRole.cs" company="Simnova LLC">
//     Copyright (c) Simnova LLC. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Simnova.Collaborate.ServiceContract.DataClasses
{
    using System;
    using System.Runtime.Serialization;

    [DataContract]
    public class UserRole
    {
        [DataMember(Name = "UserRoleId")]
        private int userRoleId;
        private int userId;
        private int roleId;
        [DataMember(Name = "CreateDate")]
        private DateTime createDate;

        public int UserRoleId
        {
            get { return this.userRoleId; }
        }

        [DataMember]
        public int UserId
        {
            get { return this.userId; }
            set { this.userId = value; }
        }

        [DataMember]
        public int RoleId
        {
            get { return this.roleId; }
            set { this.roleId = value; }
        }

        public DateTime CreateDate
        {
            get { return this.createDate; }
        }
    }
}
